package com.dao;

import java.util.List;

import com.model.Astuff;
import com.model.Minfo;

public interface MinfoDao {
	public List<Minfo> getMinfoListByUser(Astuff astuff, final int offset,
			final int length);

	public Minfo getMinfoById(int infoid);

	public Long getMinfoCountByUser(Astuff astuff);

	public List<Minfo> getUnReadMinfoListByUser(Astuff astuff,
			final int offset, final int length);

	public Long getUnReadMinfoCountByUser(Astuff astuff);
	
	public void setMinfoReaded(Astuff astuff, int infoid);
}
